import java.util.Scanner;

public class 求平方根 {
    public static void main(String[] args) {
        System.out.println("请输入一个大于二的整数：");
        Scanner sc = new Scanner(System.in);
        int number = sc.nextInt();
        for (int i = 1; i < number; i++) {
            if (i * i == number) {
                System.out.println(i + "就是" + number + "的平方根");
                break;

            } else if (i * i > number) {
                System.out.println(i + "是" + number + "的整数部分");
                break;
            }

        }
        sc.close();

    }
}
